import request from '@/config/axios'

export const getCustomerStatisticsPage = async (params) => {
  return await request.get({
    url: '/customerStatistics/getPage',
    params
  })
}

export const getCustomerPageByRank = async (params) => {
  return await request.get({
    url: '/customerStatistics/getPageByRank',
    params
  })
}

export const getHomePageReport = async (params) => {
  return await request.get({
    url: '/report/homePageReport',
    params
  })
}

export const getCompanyStatisticsPage = async (params) => {
  return await request.get({
    url: '/customerStatistics/getCompanyPage',
    params
  })
}

export const getConversionStatistics = async (params) => {
  return await request.get({
    url: '/customerStatistics/getConversionStatistics',
    params
  })
}

export const getCustomerStatistics = async (params) => {
  return await request.get({
    url: '/customerStatistics/getCustomerStatistics',
    params
  })
}

export const getSectionStatisticsChart = async (params) => {
  return await request.get({
    url: '/report/getSectionStatisticsChart',
    params
  })
}

export const getSectionStatistics = async (params) => {
  return await request.get({
    url: '/report/getSectionStatistics',
    params
  })
}

export const getPricedStatistics = async (params) => {
  return await request.get({
    url: '/report/getPricedStatistics',
    params
  })
}

export const getPricedStatisticsChart = async (params) => {
  return await request.get({
    url: '/report/getPricedStatisticsChart',
    params
  })
}

export const getPriceIndex = async (params) => {
  return await request.get({
    url: '/report/getPriceIndex',
    params
  })
}

export const getPriceIndexPage = async (params) => {
  return await request.get({
    url: '/report/getPriceIndexPage',
    params
  })
}

export const getPremiumIndex = async (params) => {
  return await request.get({
    url: '/report/getPremiumIndex',
    params
  })
}

export const getPremiumIndexPage = async (params) => {
  return await request.get({
    url: '/report/getPremiumIndexPage',
    params
  })
}

export const bidCoalManageList = async () => {
  return await request.get({
    url: '/bidCoalManage/getList'
  })
}
